package cn.net.codeplus.entity;

import java.util.Date;
import com.baomidou.mybatisplus.annotations.TableName;
import java.io.Serializable;

/**
 * <p>
 * 
 * </p>
 *
 * @author gaojun.zhou
 * @since 2018-03-01
 */
@TableName("tb_project")
public class Project extends SuperEntity<Project> implements Serializable {

    private static final long serialVersionUID = 1L;

    /**
     * 项目名称
     */
    private String prjName;
    /**
     * 项目描述
     */
    private String prjDesc;
    /**
     * 最后更新日期
     */
    private Date lastUpdateTime;
    /**
     * 最后更新日期格式化
     */
    private String lastUpdateTimeFmt;
    /**
     * 标签
     */
    private String tags;
    /**
     * 开发语言
     */
    private String lang;
    /**
     * 图标
     */
    private String icon;
    /**
     * 点赞数量
     */
    private Integer star;
    /**
     * 点赞格式化
     */
    private String starFmt;
    /**
     * 项目地址
     */
    private String detailUrl;
    /**
     * 来源,GITHUB,OSC等
     */
    private String source;
    /**
     * README
     */
    private String readme;
    /**
     * 作者
     */
    private String author;


    public String getPrjName() {
        return prjName;
    }

    public void setPrjName(String prjName) {
        this.prjName = prjName;
    }

    public String getPrjDesc() {
        return prjDesc;
    }

    public void setPrjDesc(String prjDesc) {
        this.prjDesc = prjDesc;
    }

    public Date getLastUpdateTime() {
        return lastUpdateTime;
    }

    public void setLastUpdateTime(Date lastUpdateTime) {
        this.lastUpdateTime = lastUpdateTime;
    }

    public String getLastUpdateTimeFmt() {
        return lastUpdateTimeFmt;
    }

    public void setLastUpdateTimeFmt(String lastUpdateTimeFmt) {
        this.lastUpdateTimeFmt = lastUpdateTimeFmt;
    }

    public String getTags() {
        return tags;
    }

    public void setTags(String tags) {
        this.tags = tags;
    }

    public String getLang() {
        return lang;
    }

    public void setLang(String lang) {
        this.lang = lang;
    }

    public String getIcon() {
        return icon;
    }

    public void setIcon(String icon) {
        this.icon = icon;
    }

    public Integer getStar() {
        return star;
    }

    public void setStar(Integer star) {
        this.star = star;
    }

    public String getStarFmt() {
        return starFmt;
    }

    public void setStarFmt(String starFmt) {
        this.starFmt = starFmt;
    }

    public String getDetailUrl() {
        return detailUrl;
    }

    public void setDetailUrl(String detailUrl) {
        this.detailUrl = detailUrl;
    }

    public String getSource() {
        return source;
    }

    public void setSource(String source) {
        this.source = source;
    }

    public String getReadme() {
        return readme;
    }

    public void setReadme(String readme) {
        this.readme = readme;
    }

    public String getAuthor() {
        return author;
    }

    public void setAuthor(String author) {
        this.author = author;
    }

    @Override
    public String toString() {
        return "Project{" +
        "id=" + this.getId() +
        ", prjName=" + prjName +
        ", prjDesc=" + prjDesc +
        ", lastUpdateTime=" + lastUpdateTime +
        ", lastUpdateTimeFmt=" + lastUpdateTimeFmt +
        ", tags=" + tags +
        ", lang=" + lang +
        ", icon=" + icon +
        ", star=" + star +
        ", starFmt=" + starFmt +
        ", detailUrl=" + detailUrl +
        ", source=" + source +
        ", readme=" + readme +
        ", author=" + author +
        "}";
    }
}
